package com.woniu.cq.mallorder.mapper;

import com.woniu.cq.mallorder.domain.Orderitem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author daniel
 * @since 2020-09-19
 */
public interface OrderitemMapper extends BaseMapper<Orderitem> {
    @Select("select * from tb_orderitem where order_id = #{orderId}")
    List<Orderitem> getAllOrderItem(Integer orderId);
}
